mainApp.service('myOldService', ['$resource',function ($resource){
    
    //查询用户旧物列表信息
    this.getMyOldList = function(oldParam,pageIndex,pageSize,success,error){
        return $resource(baseUrl+"/mapi/moldsRetrieve/getMyOldList/:pageIndex/:pageSize",{pageIndex:pageIndex,pageSize:pageSize}).save(oldParam,success,error);
    };
   
}]);

